package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/LogOperationVO.class */
public class LogOperationVO {
    private String nameOrIp;
    private int operType;
    private String startTime;
    private String endTime;
    private int pageNum = 1;
    private int pageSize = 10;

    public void setNameOrIp(String nameOrIp) {
        this.nameOrIp = nameOrIp;
    }

    public void setOperType(int operType) {
        this.operType = operType;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof LogOperationVO)) {
            return false;
        }
        LogOperationVO other = (LogOperationVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$nameOrIp = getNameOrIp();
        Object other$nameOrIp = other.getNameOrIp();
        if (this$nameOrIp == null) {
            if (other$nameOrIp != null) {
                return false;
            }
        } else if (!this$nameOrIp.equals(other$nameOrIp)) {
            return false;
        }
        if (getOperType() != other.getOperType()) {
            return false;
        }
        Object this$startTime = getStartTime();
        Object other$startTime = other.getStartTime();
        if (this$startTime == null) {
            if (other$startTime != null) {
                return false;
            }
        } else if (!this$startTime.equals(other$startTime)) {
            return false;
        }
        Object this$endTime = getEndTime();
        Object other$endTime = other.getEndTime();
        if (this$endTime == null) {
            if (other$endTime != null) {
                return false;
            }
        } else if (!this$endTime.equals(other$endTime)) {
            return false;
        }
        return getPageNum() == other.getPageNum() && getPageSize() == other.getPageSize();
    }

    protected boolean canEqual(Object other) {
        return other instanceof LogOperationVO;
    }

    public int hashCode() {
        Object $nameOrIp = getNameOrIp();
        int result = (((1 * 59) + ($nameOrIp == null ? 43 : $nameOrIp.hashCode())) * 59) + getOperType();
        Object $startTime = getStartTime();
        int result2 = (result * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        return (((((result2 * 59) + ($endTime == null ? 43 : $endTime.hashCode())) * 59) + getPageNum()) * 59) + getPageSize();
    }

    public String toString() {
        return "LogOperationVO(nameOrIp=" + getNameOrIp() + ", operType=" + getOperType() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", pageNum=" + getPageNum() + ", pageSize=" + getPageSize() + PoiElUtil.RIGHT_BRACKET;
    }

    public String getNameOrIp() {
        return this.nameOrIp;
    }

    public int getOperType() {
        return this.operType;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public String getEndTime() {
        return this.endTime;
    }

    public int getPageNum() {
        return this.pageNum;
    }

    public int getPageSize() {
        return this.pageSize;
    }
}